﻿//using Coldairarrow.Business;
//using FluentValidation;
//using System;
//using System.Collections.Generic;
//using System.Text;

//namespace Coldairarrow.IBusiness.ModelValidation
//{
//    public class OrderValidator : AbstractValidator<OrderDto>
//    {
//        public OrderValidator()
//        {
//            RuleFor(x => x.AddressId).NotEmpty().WithMessage("地址不能为空");
//            RuleFor(x => x._products).NotEmpty().WithMessage("商品不能为空");
//        }
//    }
//}